package com.example.hospitalsystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.hospitalsystem.pojo.dto.comment.AddCommentDto;
import com.example.hospitalsystem.pojo.dto.comment.CommentPageQueryDto;
import com.example.hospitalsystem.pojo.dto.comment.DeleteCommentDto;
import com.example.hospitalsystem.pojo.dto.comment.GetCommentByDesignAndParentDto;
import com.example.hospitalsystem.pojo.entity.Comments;
import com.example.hospitalsystem.result.Result;

import javax.xml.stream.events.Comment;

public interface CommentService extends IService<Comments> {

    public Result<Object> getAllCommentInfo(CommentPageQueryDto commentPageQueryDto);

    public Result<Object> addCommentInfo(AddCommentDto addCommentDto);

    public Result<Object> deleteCommentInfo(DeleteCommentDto deleteCommentDto);

    public Result<Object> getAllCommentByDesign(int designId);

    public Result<Object> getAllCommentByParentAndDesign(GetCommentByDesignAndParentDto getCommentByDesignAndParentDto);

    public Result<Object> lookCommentInfo();
}
